typeof foo == 'undefined'
'hello' != 'world'
0 == 0
true == true
foo == null

typeof a == 'number'
'string' != typeof a
'hello' != 'world'
2 == 3
true == true
null == a
a == null